<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String openId = (String)request.getSession().getAttribute("openId");
	if(openId==null || openId.equals("")){
	 	openId = (String)request.getParameter("openId");
	 	request.getSession().setAttribute("openId", request.getParameter("openId"));	
	}
	 
%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,,user-scalable=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="http://v3.bootcss.com/favicon.ico">
    <title>微会员</title>
    <link href="/bootstrapDemo/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="/bootstrapDemo/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
    <script src="/bootstrapDemo/js/jquery.js"></script>
    <script src="/bootstrapDemo/bootstrap/js/bootstrap.min.js"></script>
  </head>
  
<body >
<img src="/wpages/images/top-me.jpg" style="width: 100%;height: 70px;">
	<!-- 这里是头部的轮播插件 end-->
<div class="container" style="margin: 10px; padding: 0px;" >
		  
	<div class="panel panel-primary" style="margin-bottom: 0px;">
		<div class="panel-heading" style="margin: 0px;margin: 0px;">会员信息</div>
		<div class="media" style="margin: 0px;padding: 10px;" >
		  <%--  <a class="pull-left" href="#">
		    <img class="img-rounded" src="<s:property value='tuser.WHeadimgurl' />" style="width: 100px;height: 100px;"/>
		   </a> --%>
	  <h4 class="media-heading" style="margin-top: 10px;"><span class="glyphicon glyphicon-user"></span><s:property value="tuser.WNickname"/></h4>
		  
		  <div class="media-body"  >
			  手机号：<s:property value="tuser.WPhone" />   所在地： <s:property value="tuser.WCountry" />  <s:property value="tuser.WProvince" /> <s:property value="tuser.WCity" /><br/>
			   
			    关注时间：<s:property value="tuser.subTime" />
		  </div>	
		  
		  <a href="/online/getMyOnlineList.action?online.OpenID=${tuser.WOpenid}"><font color="blue">预约订单</font> <span class="badge"><s:property value="onlinelist.size()"/></span></a>
		  <a href="/award/getWAwresultByOpenId.action?awresult.userOpenId=${tuser.WOpenid}"><font color="blue">中奖信息</font> <span class="badge"><s:property value="resultList.size()"/></span></a>
	   </div>
	   <div class="panel panel-default" style="padding: 0 5 0 5; margin: 0px;height: 2px;">
	  </div>
	</div>
	<div class="panel panel-default" style="margin-top: 0px;">
	  <div class="panel-body">
	  尊敬的微会员：<br/>  您好，非常高兴您关注我们功夫梦·中国,您已经绑定成功，成为我们的微会员。<br/>您可以享受店里的优惠或折扣活动，并且可以参加这里的微活动，奖品多多，机会多多哦！<br/>点击上面的预约订单可以查看您目前的预约订单，点击中奖信息可以查看您最近的中奖情况。
	   <%--  <s:iterator value="onlinelist" id="online" status="statu"> --%>
	     <!--  <div class="panel panel-default">
		   	<div class="panel-heading">
	          <h3 class="panel-title">订单1</h3>
	        </div>
		  	<table class="table table-bordered" style="font-size: 12px;">
			 	 <tr style="background-color: white;border: 0">
					<td width="20%">联系人</td>		
					<td width="30%">张三</td>		
					<td width="20%">联系电话</td>		
					<td width="30%">123232443</td>		
				 </tr>
			 	 <tr style="background-color: white;border: 0">
					<td >预达日期</td>		
					<td >2014-08-04 
					</td>		
					<td >预离日期</td>		
					<td >
					2014-08-04  
					</td>		
				 </tr>
			 	 <tr style="background-color: white;border: 0">
					<td >预约人数</td>		
					<td >2人</td>		
					<td >预约项目</td>		
					<td >散打</td>		
				 </tr>
			 	 <tr style="background-color: white;border: 0">
					<td >备注信息</td>		
					<td >无</td>
					<td >预约时间</td>		
					<td >2014-09-02</td>			
				 </tr>
			  </table>
			</div> -->
			
	      <%--  </s:iterator> --%>
	  </div>
	</div>
</div>
<div id="footer" style="height: 40px; text-align: center;">
 	<p>版权所有@功夫梦·中国 2014-2016</p>
 </div>

<div style="height: 30px;"></div>
<jsp:include page="/wpages/bottom.jsp"></jsp:include>

</body>
</html>